package com.woniu.product.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 充电桩表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_charge_pile")
@ApiModel(value="ChargePile对象", description="充电桩表")
public class ChargePile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "充电桩ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "充电站ID")
    private String stationId;

    @ApiModelProperty(value = "收费价格;元/10分钟")
    private BigDecimal chargePrice;

    @ApiModelProperty(value = "状态;1:使用中 2:可用 3:维护中")
    private String status;

    @ApiModelProperty(value = "逻辑删除;0:正常 1:删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty("数据创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty("数据更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date updatedTime;


}
